package org.lboot.flow.module.event.sp.params;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.persistence.Column;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@Data
@ApiModel(value = "流程事件服务实现创建参数")
public class FlowEventServiceProviderCreateParams {
    @NotBlank(message = "管理事件ID不可为空")
    @ApiModelProperty(value = "关联事件ID")
    String eventId;

    @NotBlank(message = "服务实现标识不可为空")
    @ApiModelProperty(value = "服务实现唯一标识")
    String serviceId;

    @NotBlank(message = "服务实现名称不可为空")
    @ApiModelProperty(value = "服务实现名称")
    String serviceName;

    @ApiModelProperty(value = "服务实现版本")
    String version;
    
    @ApiModelProperty(value = "服务实现优先级")
    Integer priority;

    @ApiModelProperty(value = "实现语言")
    String lang;

    @ApiModelProperty(value = "所处节点")
    String node;
}
